package com.molichuxing.gateway.bff.financial.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;


/**
 * <p>
 * 发票
 * </p>
 *
 * @author zhaopenghui
 * @since 2019-09-23
 */
@Data
public class InvoiceInfoVo extends ResponseRootDto {
    private static final long serialVersionUID = 6839753636937305973L;

    @ApiModelProperty(value = "发票id")
    private Integer invoiceInfoId;

    @ApiModelProperty(value = "订单号")
    private Long orderCode;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "用户姓名")
    private String realName;

    @ApiModelProperty(value = "联系方式")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "发票状态( 0:待开票  1:已开票) ")
    private Integer status;

    @ApiModelProperty(value = "订单类型（1：订阅里程，2：专属里程） ")
    private Integer businessType;

    @ApiModelProperty(value = "订单类型")
    private String businessTypeStr;

    @ApiModelProperty(value = "开票说明")
    private String description;

    @ApiModelProperty(value = "发票内容")
    private String invoiceContent;
    @ApiModelProperty(value = "发票抬头")
    private String purchaserName;

    @ApiModelProperty(value = "纳税人识别号")
    private String purchaserTaxNumber;

    @ApiModelProperty(value = "金额")
    private BigDecimal invoiceAmount;

    @ApiModelProperty(value = "开票单位")
    private String sellName;

    @ApiModelProperty(value = "申请日期")
    private LocalDateTime applyTime;

    @ApiModelProperty(value = "发票图片url")
    private String imageFiles;

    @ApiModelProperty(value = "发票抬头类型 1：个人 2：企业单位")
    private Integer invoiceTitleType;

    @ApiModelProperty(value = "发票抬头类型 1：个人 2：企业单位")
    private String invoiceTitleTypeStr;

}
